package com.newasia.server.common.exception;

/**
 * @author LiChong
 * @description 微信登录错误
 * @date 2020/4/1
 */

public class WeChatLoginException extends BaseBusinessException {

    private String token;

    public String getToken() {
        return token;
    }

    public WeChatLoginException() {
        super();
    }

    public WeChatLoginException(String errorCode) {
        super();
        this.errorCode = errorCode;
    }

    public WeChatLoginException(Throwable arg0) {
        super(arg0);
    }

    public WeChatLoginException(String errorCode, Throwable cause) {
        super(cause);
        this.errorCode = errorCode;
    }

    public WeChatLoginException(String errorCode, String message) {
        super();
        this.errorCode = errorCode;
        this.message = message;
    }

    public WeChatLoginException(String errorCode, String message,String token) {
        super();
        this.errorCode = errorCode;
        this.message = message;
        this.token = token;
    }

    public WeChatLoginException(String errorCode, String message, Throwable cause) {
        super(cause);
        this.errorCode = errorCode;
        this.message = message;
    }
}
